﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$cfg_site_name}--{$cfg_site_description}</title>
<meta property="og:title" content="{$value['title']}"/>
<meta property="og:description" content="{$cfg_site_description}-{strip_tags($value['goods_brief'])}"/>

{template 'header'}
<body>
<div id="buy917_wrap">
	<div id="buy917_login">
     <div class="logins">
	 {if !empty($_USERS)}
      <ul id="account">
        <li title="tlover" class="username">歡迎您，{$_USERS['uname']}！</li>
        <li class="account"><a class="account" id="myaccount" href="index.php?m=UcModify&amp;a=index&amp;">我的{$cfg_site_name}</a></li>
        <li class="logout"><a href="quit.php">退出</a></li>
      </ul>
      {else}
      <ul id="account">
        <li class="login"><a href="login.php">會員登入 | 註冊</a></li>       
      </ul>
      {/if}
      </div>
      
      <ul id="myaccount-menu" >
          <li><a href="m.php?action=bond&type=available">我的團購券</a></li>
          <li><a href="m.php?action=orders&type=all">我的訂單</a></li>
          <li><a href="m.php?action=account">帳戶餘額</a></li>
          <li><a href="m.php?action=settings">帳戶設置</a></li>
      </ul>
	</div>   
    <div id="buy917_header">
    	<div id="buy917_logo"><a href="index.php">Buy917</a></div>
        <div class="buy917_header_banner">
        	<div class="buy917_header_topbanner">
            <?php include("admin/event.php")?>
            </div>
          	<div class="buy917_header_select">
            	<div class="buy917_header_city">
                	 {if !empty($_cityid)}
                    <div class="guides">
                        <div class="city">
                            <h2>{$_cityname}</h2>
                        </div>
                        <div id="guides-city-change" class="change">切換城市</div>
                        <div id="guides-city-list" class="city-list">
                            <ul>
                            {loop $_citylist $v}
                                <li {if $v['cid']==$_cityid}class="current"{/if}><a href="index.php?cityid={$v['cid']}">{$v['cityname']}</a></li>
                            {/loop}
                            </ul>                   
                        </div>
                    </div>
                    {/if}	
                </div>
                <div class="buy917_header_group">
                	{template 'headergroup'}	
                </div>
            </div>
       </div>
    </div><!-- buy917_header -->
  
    <div id="buy917_menu">
    	<a href="index.php" class="on">馬上 揪一起</a>
        <a href="grouplist.php">曾經 揪一起</a>
        <a href="article.php?aid=3">怎樣 揪一起</a>
        <a href="article.php?aid=1" class="end">問答 揪一起</a>       
    </div><!-- buy917_menu -->
    
    <div id="buy917_product">
    	{template 'todayproduct'}	
    </div><!-- buy917_product -->
   
    <div id="buy917_middle">
    	<div style="width:660px; float:left;">  
        	<div class="buy917_productinfo_top"></div>      
            <div class="buy917_productinfo"> 
                    <h2>本單詳情</h2>
                    {$value['goods_brief']}   
            </div>
            <div class="buy917_productinfo_bottom"></div>
             
            <div class="buy917_productinfo_top"></div>
            <div class="buy917_productinfo"> 
                <h2>商品介紹</h2>
                 {$value['goods_about']} 
            </div>
            <div class="buy917_productinfo_bottom"></div>
            
             <div class="buy917_productinfo_top"></div>
            <div class="buy917_productinfo"> 
                <h2 class="guest">網友分享</h2>
                <div class="blk review">
                    <p>{$value['goods_reviews']}</p>
                     <ul class="review">
                        {loop $value['goods_reviews_contents'] $r}
                        <li>{$r['content']}<span>&mdash;&mdash;<a href="{$r['url']}"target="_blank">{$r['user']}</a>（{$r['web']}）</span></li>
                        {/loop}
                     </ul>
                    </div>
                    <h2 class="admin">917特派小狗仔 說</h2>
                       <div class="comment_balloon_outer">
                           <div class="top">
                           </div>
                           <div class="photo"></div>
                           <div class="contant">
                             {$value['goods_reviews_site']}
                           </div>
                           <div class="bottom">
                           </div>
                      
                  </div><!-- blk review-->
            </div> <!-- buy917_productinfo -->
            <div class="buy917_productinfo_bottom"></div>
        </div>
        <!-- buy917_productinfo -->
        
        <div id="buy917_silder">
        	{template 'silder'}	
        </div><!-- buy917_silder -->
    </div><!-- buy917_middle -->
</div><!-- buy917wrap -->
<!-- footer -->
<div id="buy917_footer">
	{template 'footer'}	
</div>
</body>
</html>
